import Vue from "vue";

import d2Container from "./d2-container";

// 注意 有些组件使用异步加载会有影响
Vue.component("d2-container", d2Container);
Vue.component("d2-icon", () => import("./d2-icon"));
Vue.component("d2-icon-svg", () => import("./d2-icon-svg/index.vue"));
Vue.component("d2-scrollbar", () => import("./d2-scrollbar"));
Vue.component("d2-module-index-menu", () => import("./d2-module-index-menu"));
Vue.component("d2-quill", () => import("./d2-quill"));

import InputTreeSelect from "./input-tree-select";
import UserPicker from "./user-picker";
import TreeSelect from "./tree-select";
import TextTooltip from "./text-tooltip";
import BtnUpload from "./btn-upload";
import TitleLine from "./title-line";
import InputUpload from "./input-upload";
import AfTableColumn from "./af-table-column";
import ButtonTextFile from "./button-text-file";

Vue.component("InputTreeSelect", InputTreeSelect);
Vue.component("TreeSelect", TreeSelect);
Vue.component("UserPicker", UserPicker);
Vue.component("TextTooltip", TextTooltip);
Vue.component("BtnUpload", BtnUpload);
Vue.component("TitleLine", TitleLine);
Vue.component("InputUpload", InputUpload);
Vue.component("AfTableColumn", AfTableColumn);
Vue.component("ButtonTextFile", ButtonTextFile);
